Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / Load Method / Load(Stream,Byte[]) Method
The System.IO.Stream object used for loading the document content.
The password used to open the document.

In This Topic
    Load(Stream,Byte[]) Method
    In This Topic
    Loads the current document from a specified input stream, overwriting the current content of the document. The stream should contain valid PDF data, and must be kept open while reading or modifying the document. If the document is modified, it can be saved using the Save(String,Boolean) or Save(Stream,Boolean) method.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal stream As System.IO.Stream, _
       ByVal password() As System.Byte _
    ) 
    public void Load( 
       System.IO.Stream stream,
       System.byte[] password
    )

    Parameters

    stream
    The System.IO.Stream object used for loading the document content.
    password
    The password used to open the document.
    See Also